import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

# 读取CSV文件
df = pd.read_csv('lvbo06_02_23_50_25.csv', encoding='utf-8')

# 假设我们要读取名为'ColumnName'的列
column_name = 'after'
column_data = df[column_name].tolist()  # 将列数据转换为列表

# 打印读取的数据
print(column_data)
t = range(3200)
plt.subplot(2, 1, 1)
plt.plot(t, column_dat label='Current Waveform')
plt.title('Current Waveform')
plt.xlabel('Time (s)')
plt.ylabel('Amplitude (A)')
plt.legend()
plt.show()